﻿@model Kelper.Domain.Models.Recipe

<div class="recipe-summary">
    <h4>@Html.ActionLink(Model.NiceName, "index", "recipe", new { id = Model.ID, title = Model.UrlName() }, null)</h4>
    <div class="recipe-information">
        Created by @Model.Author.Username on @Model.Created.ToLocalTime()
    </div>
    <div class="recipe-text">
        Ingredients: @Model.IngredientsCSV
    </div>
    @*<div class="recipe-text">
        @Html.Linebreaks(Model.Text.Truncate(50, "..."))
    </div>*@
</div>
